Systems and methods of volume limiting

ABSTRACT

Systems and methods for limiting volume in an audio playback device using a feedback controller are disclosed herein. In one example, a gain stage modulates gain of an audio signal based in part on feedback from a downstream limiter. The gain stage receives a first audio signal as well as a feedback signal from the feedback controller. Based at least in part on the feedback signal from the feedback controller, the gain stage modulates a gain of the first audio signal to provide a second audio signal. The second audio signal is delivered to the limiter, which limits the second audio signal to produce an output signal. The output signal is played back via a transducer. The feedback controller receives a gain reduction value from the limiter and determines a feedback signal to provide to the gain stage upstream of the limiter.

CROSS-REFERENCE TO RELATED APPLICATION

The present application is a continuation of U.S. application Ser. No.15/943,064, filed Apr. 2, 2018, which is incorporated herein byreference in its entirety.

FIELD OF THE DISCLOSURE

The disclosure is related to consumer goods and, more particularly, tomethods, systems, products, features, services, and other elementsdirected to limiting volume in media playback or some aspect thereof.

BACKGROUND

Options for accessing and listening to digital audio in an out-loudsetting were limited until in 2003, when SONOS, Inc. filed for one ofits first patent applications, entitled “Method for Synchronizing AudioPlayback between Multiple Networked Devices,” and began offering a mediaplayback system for sale in 2005. The Sonos Wireless HiFi System enablespeople to experience music from many sources via one or more networkedplayback devices. Through a software control application installed on asmartphone, tablet, or computer, one can play what he or she wants inany room that has a networked playback device. Additionally, using thecontroller, for example, different songs can be streamed to each roomwith a playback device, rooms can be grouped together for synchronousplayback, or the same song can be heard in all rooms synchronously.

BRIEF DESCRIPTION OF THE DRAWINGS

Features, aspects, and advantages of the presently disclosed technologymay be better understood with regard to the following description,appended claims, and accompanying drawings, as listed below. A personskilled in the relevant art will understand that the features shown inthe drawings are for purposes of illustrations, and variations,including different and/or additional features and arrangements thereof,are possible.

FIG. 1 is a functional block diagram of an example playback device.

FIG. 2A is a front isometric view of a playback device configured inaccordance with aspects of the disclosed technology.

FIG. 2B is a front isometric view of the playback device of FIG. 2Awithout a grille.

FIG. 2C is an exploded isometric view of the playback device of FIG. 2A.

FIG. 3A is a block diagram of audio processing components in accordancewith aspects of the present technology.

FIG. 3B is a functional block diagram of an example feedback controlleras shown in FIG. 3A.

FIG. 4 is a flow diagram of a process for limiting volume in a playbackdevice in accordance with aspects of the present technology.

The drawings are for purposes of illustrating example embodiments, butit is understood that the inventions are not limited to the arrangementsand instrumentality shown in the drawings.

DETAILED DESCRIPTION I. Overview

A playback device may play audio content at different volume settings.The playback device may have a certain operational limit (e.g.,mechanical, electrical, thermal) beyond which audio quality maydeteriorate or components of the playback device may become damaged. Theoperational limit can include, for example, maximum movement of asurround, spider, voice coil, and cone from a rest position when anaudio signal is applied to a transducer, as well as voltage limits,current limits, power limits, temperature limits, and any other physicalparameters associated with the playback device when playing audio.

To avoid this operational limit, certain playback devices rely ondynamic bass control and/or a limiter. Dynamic bass control reduces theamount of bass in the audio signal when necessary to prevent theplayback device from reaching its operational limit. Because bass-heavysignals result in greater energy carried by the transducer, they presentgreater risk of reaching the operational limit of the playback device. Alimiter quickly adjusts its gain for an audio signal that exceeds apredetermined threshold to prevent the playback device from reaching itsoperational limit. Limiters can be characterized by their timeconstants, particularly an “attack time” (i.e., the time it takes forthe signal to become fully attenuated by the limiter after exceeding thethreshold level) and a “release time” (i.e., the time it takes for thesignal to return from its attenuated state to its original state afterthe signal has fallen below the threshold level). Limiters can also havevarying shapes of attack and release, for example, either linearly orexponentially attenuating the signal in the attack phase, and eitherlinearly or exponentially reducing attenuation of the signal in therelease phase. Varying the time constants of the limiters will varytheir performance and associated audible artifacts that arise fromcontrolling a supra-threshold audio signal.

One problem with conventional limiting methods is that they produce achoppy listening experience. For example, in certain bass-heavy content(e.g., acoustic content with high bass levels, such as a kick drum),quieter beats of the kickdrum may be limited less whereas louder beatsof the kick drum (which are expected to exceed the transducer's physicallimits) may be limited more. The difference in limiting may result inthe bass appearing to unnaturally cut in and out. Additionally, inplayback devices that incorporate both dynamic bass control and alimiter, the interaction of these two components can result in anundesirable over-limiting of the audio signal. Many playback devices,for example, include an arrangement in which the dynamic bass control isupstream of the limiter in the signal-processing chain. In thesearrangements, the dynamic bass control reduces the bass to a levelneeded to avoid reaching operational limits of the playback device.However, subsequent to this bass reduction, the limiter applieswide-band limiting of supra-threshold signals, thereby further limitingtotal output to avoid reaching operational limits of the playbackdevice. Because the upstream dynamic bass control does not “know” whatattenuation the limiter will apply to the output signal, it canover-limit the audio signal. This results in bass being reduced morethan is necessary to maintain desirable bass levels and a safe operatingrange for the playback device.

Embodiments described herein are directed to a feedback controller thatreceives a gain reduction value from the limiter and, based on the gainreduction value, provides a feedback signal to an upstream gain stage inthe signal processing chain. By providing this feedback from the limiterto an earlier gain stage, the need for bass reduction can be lowered incertain circumstances. The feedback controller can apply separatefilters to the gain reduction value from the limiter, each havingdifferent time constants. By evaluating the gain reduction value usingtime constants at varying time scales, and then combining the filteroutputs, the controller achieves a balanced overall dynamic gainreduction that minimizes audible artifacts.

The present technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the presenttechnology are described as numbered examples (1, 2, 3, etc.) forconvenience. These are provided as examples and do not limit the presenttechnology. It is noted that any of the dependent examples may becombined in any combination, and placed into a respective independentexample. The other examples can be presented in a similar manner.

Example 1. A method, comprising:

receiving a first audio signal at a gain stage;

receiving a feedback signal from a controller at the gain stage;

based at least in part on the feedback signal from the controller,modulating a gain of the first audio signal via the gain stage toprovide a second audio signal;

receiving the second audio signal at a limiter;

limiting the second audio signal via the limiter to produce an outputsignal;

providing a gain reduction value from the limiter to the controller;

based on the gain reduction value from the limiter, determining thefeedback signal via the controller; and

playing back audio based on the output signal.

Example 2. The method of example 1, wherein the controller comprises aplurality of time constant (TC) filters, and wherein determining thefeedback signal comprises applying each of the TC filters to the gainreduction value from the limiter.

Example 3. The method of example 2, wherein determining the feedbacksignal further comprises applying the filters to the gain reductionvalue from the limiter in parallel and combining TC filter outputsignals.

Example 4. The method of example 3, further comprising range-limitingthe TC filter output signals before combining the TC filter outputsignals to determine the feedback signal.

Example 5. The method of any one of examples 2-4, wherein each of the TCfilters comprises different time constants.

Example 6. The method of any one of examples 2-5, wherein the TC filterscomprise:

a first TC filter having a first attack time and a first release time;

a second TC filter having a second attack time and a second releasetime; and

a third TC filter having a third attack time and a third release time.

Example 7. The method of example 6, wherein the first attack time isless than the second attack time, and wherein the second attack time isless than the third attack time.

Example 8. The method of any one of examples 6-7, wherein the firstrelease time is less than the second release time, and wherein thesecond release time is less than the third release time.

Example 9. The method of any one of examples 6-8, wherein the firstattack time is between about 0 ms and about 20 ms, and wherein the firstrelease time is between about 0 ms and about 20 ms.

Example 10. The method of any one of examples 6-9, wherein the secondattack time is between about 20 ms and about 100 ms, and wherein thesecond release time is between about 100 ms and about 300 ms.

Example 11. The method of any one of examples 6-10, wherein the thirdattack time is between about 250 ms and about 1000 ms, and wherein thethird release time is between about 1000 ms and about 3000 ms.

Example 12. The method of any one of examples 6-11, wherein the secondTC filter has exponential release and wherein the third TC filter haslinear release.

Example 13. The method of any one of examples 2-12, wherein the TCfilters comprise:

a fast filter configured to suppress supra-threshold signals on a firsttimescale;

an intermediate filter configured to suppress supra-threshold signals ona second timescale; and

a slow filter configured to suppress supra-threshold signals on a thirdtimescale,

wherein the first timescale is less than the second timescale, andwherein the second timescale is less than the third timescale.

Example 14. The method of any one of examples 2-13, further comprisingapplying a scaling factor to the gain reduction value before applying atleast one of the TC filters.

Example 15. The method of any one of examples 2-12, further comprisingbiasing the gain reduction value before applying the TC filters.

Example 16. The method of any one of examples 1-15, wherein providingthe gain reduction value from the limiter to the controller comprisesdetermining an amount of gain reduction applied by the limiter to thesecond audio signal.

Example 17. The method of any one of examples 1-16, further comprising,before delivering the second audio stage to the limiter, delivering thesecond audio to a dynamic bass control.

Example 18. A non-transitory computer-readable medium comprisinginstructions for limiting volume in audio playback, the instructions,when executed by a processor, causing the processor to perform thefollowing:

receiving a first audio signal at a gain stage;

receiving a feedback signal from a controller at the gain stage;

based at least in part on the feedback signal from the controller,modulating a gain of the first audio signal via the gain stage toprovide a second audio signal;

delivering the second audio signal to a limiter;

limiting the second audio signal via the limiter to produce an outputsignal;

providing a gain reduction value from the limiter to the controller;

based on the gain reduction value from the limiter, determining thefeedback signal via the controller; and

playing back audio based on the output signal.

Example 19. The non-transitory computer-readable medium of example 18,wherein the controller comprises a plurality of time constant (TC)filters and wherein determining the feedback signal comprises applyingeach of the TC filters to the gain reduction value from the limiter.

Example 20. The non-transitory computer-readable medium of example 19,wherein determining the feedback signal comprises applying the filtersto the gain reduction value from the limiter in parallel and combiningTC filter output signals.

Example 21. The non-transitory computer-readable medium of example 20,further comprising range-limiting the TC filter output signals beforecombining the TC filter output signals to determine the feedback signal.

Example 22. The non-transitory computer-readable medium of any one ofexamples 19-21, wherein each of the TC filters comprises different timeconstants.

Example 23. The non-transitory computer-readable medium of any one ofexamples 19-22, wherein the TC filters comprise:

a first TC filter having a first attack time and a first release time;

a second TC filter having a second attack time and a second releasetime; and

a third TC filter having a third attack time and a third release time.

Example 24. The non-transitory computer-readable medium of example 23,wherein the first attack time is less than the second attack time, andwherein the second attack time is less than the third attack time.

Example 25. The non-transitory computer-readable medium of any one ofexamples 23-24, wherein the first release time is less than the secondrelease time, and wherein the second release time is less than the thirdrelease time.

Example 26. The non-transitory computer-readable medium of any one ofexamples 23-25, wherein the first attack time is between about 0 ms andabout 20 ms, and wherein the first release time is between about 0 msand about 20 ms.

Example 27. The non-transitory computer-readable medium of any one ofexamples 23-26, wherein the second attack time is between about 20 msand about 100 ms, and wherein the second release time is between about100 ms and about 300 ms.

Example 28. The non-transitory computer-readable medium of any one ofexamples 23-27, wherein the third attack time is between about 250 msand about 1000 ms, and wherein the third release time is between about1000 ms and about 3000 ms.

Example 29. The non-transitory computer-readable medium of any one ofexamples 23-28, wherein the second TC filter has exponential release andwherein the third TC filter has linear release.

Example 30. The non-transitory computer-readable medium of any one ofexamples 19-29, wherein the TC filters comprise:

a fast filter configured to suppress supra-threshold signals on a firsttimescale;

an intermediate filter configured to suppress supra-threshold signals ona second timescale; and

a slow filter configured to suppress excess supra-threshold signals on athird timescale,

wherein the first timescale is less than the second timescale, andwherein the second timescale is less than the third timescale.

Example 31. The non-transitory computer-readable medium of any one ofexamples 19-30, further comprising applying a scaling factor to the gainreduction value before applying at least one of the TC filters.

Example 32. The non-transitory computer-readable medium of any one ofexamples 19-31, further comprising biasing the gain reduction valuebefore applying the TC filters.

Example 33. The non-transitory computer-readable medium of any one ofexamples 18-32, wherein providing the gain reduction value from thelimiter to the controller comprises determining an amount of gainreduction applied by the limiter to the second audio signal.

Example 34. The non-transitory computer-readable medium of any one ofexamples 18-33, further comprising, before delivering the second audiostage to the limiter, delivering the second audio to a dynamic bassfilter.

Example 35. An audio signal processing system of a playback device, thesystem comprising:

a gain stage configured to receive an audio signal and modulate thegain;

a limiter downstream of the gain stage configured to apply gainreduction to signals above a predetermined threshold; and

a feedback controller configured to receive a gain reduction value fromthe limiter and provide a feedback signal to the gain stage to adjustthe gain modulation applied by the gain stage.

Example 36. The system of example 35, wherein the feedback controller isconfigured to bias the gain reduction value received from the limiter bya predetermined bias amount.

Example 37. The system of example 36, wherein the feedback controller isconfigured to apply an algorithm to the biased gain reduction value andoutputs the feedback signal to the gain stage.

Example 38. The system of example 37, wherein applying the algorithmcomprises applying a plurality of time constant (TC) filters to thebiased gain reduction value and combining TC filter output signals.

Example 39. The system of example 38, wherein each of the TC filterscomprises different time constants.

Example 40. The system of example 39, wherein the TC filters comprise:

a first TC filter having a first attack time and a first release time;

a second TC filter having a second attack time and a second releasetime; and

a third TC filter having a third attack time and a third release time.

Example 41. The system of example 40, wherein the first attack time isless than the second attack time, and wherein the second attack time isless than the third attack time.

Example 42. The system of any one of examples 40-41, wherein the firstrelease time is less than the second release time, and wherein thesecond release time is less than the third release time.

Example 43. The system of any one of examples 40-42, wherein the firstattack time is between about 0 ms and about 20 ms, and wherein the firstrelease time is between about 0 ms and about 20 ms.

Example 44. The system of any one of examples 40-43, wherein the secondattack time is between about 20 ms and about 100 ms, and wherein thesecond release time is between about 100 ms and about 300 ms.

Example 45. The system of any one of examples 40-44, wherein the thirdattack time is between about 250 ms and about 1000 ms, and wherein thethird release time is between about 1000 ms and about 3000 ms.

Example 46. The system of any one of examples 40-45, wherein the secondTC filter has exponential release and wherein the third TC filter haslinear release.

Example 47. The system of any one of examples 38-47, wherein the TCfilters comprise:

a fast filter configured to suppress supra-threshold signals on a firsttimescale;

an intermediate filter configured to suppress supra-threshold signals ona second timescale; and

a slow filter configured to suppress supra-threshold signals on a thirdtimescale,

wherein the first timescale is less than the second timescale, andwherein the second timescale is less than the third timescale.

Example 48. The system of any one of examples 35-47, further comprisinga dynamic bass filter disposed between the gain stage and the limiter.

While some embodiments described herein may refer to functions performedby given actors such as “users” and/or other entities, it should beunderstood that this description is for purposes of explanation only.The examples should not be interpreted to require action by any suchexample actor unless explicitly required by the language of the claimsthemselves.

Many of the details, dimensions, angles and other features shown in theFigures are merely illustrative of particular embodiments of thedisclosed technology. Accordingly, other embodiments can have otherdetails, dimensions, angles and features without departing from thespirit or scope of the disclosure. In addition, those of ordinary skillin the art will appreciate that further embodiments of the variousdisclosed technologies can be practiced without several of the detailsdescribed below.

II. Example Playback Devices

FIG. 1 is a block diagram of an example playback device 110. As usedherein the term “playback device” can generally refer to a networkdevice configured to receive, process, and output data of a mediaplayback system. For example, a playback device can be a network devicethat receives and processes audio content. In some embodiments, aplayback device includes one or more transducers or speakers powered byone or more amplifiers. In other embodiments, however, a playback deviceincludes one of (or neither of) the speaker and the amplifier. Forinstance, a playback device can comprise one or more amplifiersconfigured to drive one or more speakers external to the playback devicevia a corresponding wire or cable.

The playback device 110 comprises an input/output 111, which can includean analog I/O 111 a (e.g., one or more wires, cables, and/or othersuitable communication links configured to carry analog signals) and/ora digital I/O 111 b (e.g., one or more wires, cables, or other suitablecommunication links configured to carry digital signals). In someembodiments, the analog I/O 111 a is an audio line-in input connectioncomprising, for example, an auto-detecting 3.5 mm audio line-inconnection. In some embodiments, the digital I/O 111 b comprises aSony/Philips Digital Interface Format (S/PDIF) communication interfaceand/or cable and/or a Toshiba Link (TOSLINK) cable. In some embodiments,the digital I/O 111 b comprises an High-Definition Multimedia Interface(HDMI) interface and/or cable. In some embodiments, the digital I/O 111b includes one or more wireless communication links comprising, forexample, a radio frequency (RF), infrared, WiFi, Bluetooth, or anothersuitable communication protocol. In certain embodiments, the analog I/O111 a and the digital 111 b comprise interfaces (e.g., ports, plugs,jacks) configured to receive connectors of cables transmitting analogand digital signals, respectively, without necessarily including cables.

The playback device 110, for example, can receive media content (e.g.,audio content comprising music and/or other sounds) from a local audiosource 105 via the input/output 111 (e.g., a cable, a wire, a PAN, aBluetooth connection, an ad hoc wired or wireless communication network,and/or another suitable communication link). The local audio source 105can comprise, for example, a mobile device (e.g., a smartphone, atablet, a laptop computer) or another suitable audio component (e.g., atelevision, a desktop computer, an amplifier, a phonograph, a Blu-rayplayer, a memory storing digital media files). In some aspects, thelocal audio source 105 includes local music libraries on a smartphone, acomputer, a networked-attached storage (NAS), and/or another suitabledevice configured to store media files. In certain embodiments, one ormore of the playback devices 110 comprise the local audio source 105. Inother embodiments, however, the media playback system omits the localaudio source altogether. In some embodiments, the playback device 110does not include an input/output 111 and receives all audio content viathe network.

The playback device 110 further comprises electronics 112, a userinterface 113 (e.g., one or more buttons, knobs, dials, touch-sensitivesurfaces, displays, touchscreens), and one or more transducers 114(referred to hereinafter as “the transducers 114”). The electronics 112is configured to receive audio from an audio source (e.g., the localaudio source 105) via the input/output 111, amplify the received audio,and output the amplified audio for playback via one or more of thetransducers 114. In some embodiments, the playback device 110 optionallyincludes one or more microphones (e.g., a single microphone, a pluralityof microphones, a microphone array). In certain embodiments, forexample, the playback device 110 having one or more of the optionalmicrophones can operate as a networked microphone device (NMD)configured to receive voice input from a user and correspondinglyperform one or more operations based on the received voice input. In theillustrated embodiment of FIG. 1, the electronics 112 comprise one ormore processors 112 a (referred to hereinafter as “the processors 112a”), memory 112 b, software components 112 c, a network interface 112 d,one or more audio processing components 112 g (referred to hereinafteras “the audio components 112 g”), one or more audio amplifiers 112 h(referred to hereinafter as “the amplifiers 112 h”), and power 112 i(e.g., one or more power supplies, power cables, power receptacles,batteries, induction coils, Power-over Ethernet (POE) interfaces, and/orother suitable sources of electric power). In some embodiments, theelectronics 112 optionally include one or more other components 112 j(e.g., one or more sensors, video displays, touchscreens, batterycharging bases).

The processors 112 a can comprise clock-driven computing component(s)configured to process data, and the memory 112 b can comprise acomputer-readable medium (e.g., a tangible, non-transitorycomputer-readable medium, data storage loaded with one or more of thesoftware components 112 c) configured to store instructions forperforming various operations and/or functions. The processors 112 a areconfigured to execute the instructions stored on the memory 112 b toperform one or more of the operations. The operations can include, forexample, causing the playback device 110 to retrieve audio data from anaudio source and/or another playback device. In some embodiments, theoperations further include causing the playback device 110 to send audiodata to another playback device and/or another device. Certainembodiments include operations causing the playback device 110 to pairwith another of the one or more playback devices to enable amulti-channel audio environment (e.g., a stereo pair, a bonded zone).

The processors 112 a can be further configured to perform operationscausing the playback device 110 to synchronize playback of audio contentwith another playback device. As those of ordinary skill in the art willappreciate, during synchronous playback of audio content on a pluralityof playback devices, a listener will preferably be unable to perceivetime-delay differences between playback of the audio content by theplayback device 110 and the other playback device. Additional detailsregarding audio playback synchronization among playback devices can befound, for example, in U.S. Pat. No. 8,234,395, which is herebyincorporated by reference in its entirety.

In some embodiments, the memory 112 b is further configured to storedata associated with the playback device 110, such as one or more zonesand/or zone groups of which the playback device 110 is a member, audiosources accessible to the playback device 110, and/or a playback queuethat the playback device 110 (and/or another one or more playbackdevices) can be associated with. The stored data can comprise one ormore state variables that are periodically updated and used to describea state of the playback device 110. The memory 112 b can also includedata associated with a state of one or more of other devices (e.g.,another playback device, a control device, etc.). In some aspects, forexample, the state data is shared during predetermined intervals of time(e.g., every 5 seconds, every 10 seconds, every 60 seconds) among atleast a portion of the devices of the media playback system 100, so thatone or more of the devices have the most recent data associated with themedia playback system 100.

The network interface 112 d is configured to facilitate a transmissionof data between the playback device 110 and one or more other devices ona data network. The network interface 112 d is configured to transmitand receive data corresponding to media content (e.g., audio content,video content, text, photographs) and other signals (e.g.,non-transitory signals) comprising digital packet data including anInternet Protocol (IP)-based source address and/or an IP-baseddestination address. The network interface 112 d can parse the digitalpacket data such that the electronics 112 properly receives andprocesses the data destined for the playback device 110.

In the illustrated embodiment of FIG. 1, the network interface 112 dcomprises one or more wireless interfaces 112 e (referred to hereinafteras “the wireless interface 112 e”). The wireless interface 112 e (e.g.,a suitable interface comprising one or more antennae) can be configuredto wirelessly communicate with one or more other devices that arecommunicatively coupled to the network in accordance with a suitablewireless communication protocol (e.g., WiFi, Bluetooth, LTE). In someembodiments, the network interface 112 d optionally includes a wiredinterface 112 f (e.g., an interface or receptacle configured to receivea network cable such as an Ethernet, a USB-A, a USB-C, and/or aThunderbolt cable) configured to communicate over a wired connectionwith other devices in accordance with a suitable wired communicationprotocol. In certain embodiments, the network interface 112 d includesthe wired interface 112 f and excludes the wireless interface 112 e. Insome embodiments, the electronics 112 excludes the network interface 112d altogether and transmits and receives media content and/or other datavia another communication path (e.g., the input/output 111).

The audio components 112 g are configured to process and/or filter datacomprising media content received by the electronics 112 (e.g., via theinput/output 111 and/or the network interface 112 d) to produce outputaudio signals. In some embodiments, the audio processing components 112g comprise, for example, one or more digital-to-analog converters (DAC),audio preprocessing components, audio enhancement components, digitalsignal processors (DSPs), and/or other suitable audio processingcomponents, modules, circuits, etc. In certain embodiments, one or moreof the audio processing components 112 g can comprise one or moresubcomponents of the processors 112 a. In some embodiments, theelectronics 112 omits the audio processing components 112 g. In someaspects, for example, the processors 112 a execute instructions storedon the memory 112 b to perform audio processing operations to producethe output audio signals.

The amplifiers 112 h are configured to receive and amplify the audiooutput signals produced by the audio processing components 112 g and/orthe processors 112 a. The amplifiers 112 h can comprise electronicdevices and/or components configured to amplify audio signals to levelssufficient for driving one or more of the transducers 114. In someembodiments, for example, the amplifiers 112 h include one or moreswitching or class-D power amplifiers. In other embodiments, however,the amplifiers include one or more other types of power amplifiers(e.g., linear gain power amplifiers, class-A amplifiers, class-Bamplifiers, class-AB amplifiers, class-C amplifiers, class-D amplifiers,class-E amplifiers, class-F amplifiers, class-G and/or class Hamplifiers, and/or another suitable type of power amplifier). In certainembodiments, the amplifiers 112 h comprise a suitable combination of twoor more of the foregoing types of power amplifiers. Moreover, in someembodiments, individual ones of the amplifiers 112 h correspond toindividual ones of the transducers 114. In other embodiments, however,the electronics 112 includes a single one of the amplifiers 112 hconfigured to output amplified audio signals to a plurality of thetransducers 114. In some other embodiments, the electronics 112 omitsthe amplifiers 112 h.

The transducers 114 (e.g., one or more speakers and/or speaker drivers)receive the amplified audio signals from the amplifier 112 h and renderor output the amplified audio signals as sound (e.g., audible soundwaves having a frequency between about 20 Hertz (Hz) and 20 kilohertz(kHz)). In some embodiments, the transducers 114 can comprise a singletransducer. In other embodiments, however, the transducers 114 comprisea plurality of audio transducers. In some embodiments, the transducers114 comprise more than one type of transducer. For example, thetransducers 114 can include one or more low frequency transducers (e.g.,subwoofers, woofers), mid-range frequency transducers (e.g., mid-rangetransducers, mid-woofers), and one or more high frequency transducers(e.g., one or more tweeters). As used herein, “low frequency” cangenerally refer to audible frequencies below about 500 Hz, “mid-rangefrequency” can generally refer to audible frequencies between about 500Hz and about 2 kHz, and “high frequency” can generally refer to audiblefrequencies above 2 kHz. In certain embodiments, however, one or more ofthe transducers 114 comprise transducers that do not adhere to theforegoing frequency ranges. For example, one of the transducers 114 maycomprise a mid-woofer transducer configured to output sound atfrequencies between about 200 Hz and about 5 kHz.

By way of illustration, SONOS, Inc. presently offers (or has offered)for sale certain playback devices including, for example, a “SONOS ONE,”“PLAY:1,” “PLAY:3,” “PLAY:5,” “PLAYBAR,” “PLAYBASE,” “CONNECT:AMP,”“CONNECT,” and “SUB.” Other suitable playback devices may additionallyor alternatively be used to implement the playback devices of exampleembodiments disclosed herein. Additionally, one of ordinary skill in theart will appreciate that a playback device is not limited to theexamples described herein or to SONOS product offerings. In someembodiments, for example, one or more playback devices 110 compriseswired or wireless headphones (e.g., over-the-ear headphones, on-earheadphones, in-ear earphones). In other embodiments, one or more of theplayback devices 110 comprise a docking station and/or an interfaceconfigured to interact with a docking station for personal mobile mediaplayback devices. In certain embodiments, a playback device may beintegral to another device or component such as a television, a lightingfixture, or some other device for indoor or outdoor use. In someembodiments, a playback device omits a user interface and/or one or moretransducers.

FIG. 2A is a front isometric view of a playback device 210 configured inaccordance with aspects of the disclosed technology. FIG. 2B is a frontisometric view of the playback device 210 without a grille 216 e. FIG.2C is an exploded view of the playback device 210. Referring to FIGS.2A-2C together, the playback device 210 comprises a housing 216 thatincludes an upper portion 216 a, a right or first side portion 216 b, alower portion 216 c, a left or second side portion 216 d, the grille 216e, and a rear portion 216 f A plurality of fasteners 216 g (e.g., one ormore screws, rivets, clips) attaches a frame 216 h to the housing 216. Acavity 216 j (FIG. 2C) in the housing 216 is configured to receive theframe 216 h and electronics 212. The frame 216 h is configured to carrya plurality of transducers 214 (identified individually in FIG. 2B astransducers 214 a-f). The electronics 212 (e.g., the electronics 112 ofFIG. 1) are configured to receive audio content from an audio source andsend electrical signals corresponding to the audio content to thetransducers 214 for playback.

The transducers 214 are configured to receive the electrical signalsfrom the electronics 112, and further configured to convert the receivedelectrical signals into audible sound during playback. For instance, thetransducers 214 a-c (e.g., tweeters) can be configured to output highfrequency sound (e.g., sound waves having a frequency greater than about2 kHz). The transducers 214 d-f (e.g., mid-woofers, woofers, midrangespeakers) can be configured output sound at frequencies lower than thetransducers 214 a-c (e.g., sound waves having a frequency lower thanabout 2 kHz). In some embodiments, the playback device 210 includes anumber of transducers different than those illustrated in FIGS. 2A-2C.For example, the playback device 210 can include fewer than sixtransducers (e.g., one, two, three). In other embodiments, however, theplayback device 210 includes more than six transducers (e.g., nine,ten). Moreover, in some embodiments, all or a portion of the transducers214 are configured to operate as a phased array to desirably adjust(e.g., narrow or widen) a radiation pattern of the transducers 214,thereby altering a user's perception of the sound emitted from theplayback device 210.

In the illustrated embodiment of FIGS. 2A-2C, a filter 216 i is axiallyaligned with the transducer 214 b. The filter 216 i can be configured todesirably attenuate a predetermined range of frequencies that thetransducer 214 b outputs to improve sound quality and a perceived soundstage output collectively by the transducers 214. In some embodiments,however, the playback device 210 omits the filter 216 i. In otherembodiments, the playback device 210 includes one or more additionalfilters aligned with the transducers 214 b and/or at least another ofthe transducers 214.

III. Example Systems and Methods for Limiting Volume in a PlaybackDevice

FIG. 3A illustrates a functional block diagram of the audio processingcomponents 112 g shown in FIG. 1. The audio processing components 112 gcan be a part of the processor 112 a (FIG. 1), or in some embodimentsthey can be physically separate components, such as analog electroniccomponents or separate electronic components configured to carry outparticular audio processing operations. The components 112 g receive aninput 302 and include upstream audio processing components 304, a gainstage 306, a dynamic bass control 308, a limiter 310, a transducer 312,and a feedback controller 314. The components are also in communicationwith a transducer 312, which can be, for example, a speaker or group ofspeakers. The path of the audio signal is shown in solid lines (passingfrom the input 302, to upstream audio components 304, to the gain stage306, to the dynamic bass control 308, to the limiter 310, and to thetransducer 312). The path of the control signal for the feedback loop isshown in broken lines (passing from the limiter 310, to the feedbackcontroller 314, and to the gain stage 306).

The input signal 302 can be media content (e.g., audio contentcomprising music and/or other sounds) from a local or networked audiosource. In one example, the audio signal may be a digital audio signalsuch as a packetized or non-packetized stream of audio from a musicservice or television, a digital audio file, an audio signal generatedby the playback device itself or a device connected to the audioplayback device. For example, the packet may comprise 128 bits of audiodata. In another example, the audio signal may be an analog signal inputfrom an auxiliary connection or a digital signal input from a USBconnection. The audio signal may comprise frequency content that mayrange from 0 Hz to 22,050 Hz or some subset of this frequency range.

The upstream audio processing components 304 can take a variety offorms, for example, a decoder (e.g., Dolby, MP3, etc.), ananalog-to-digital converter (ADC), a user-adjusted volume control,user-adjusted treble and bass settings, an equalizer, array processingto accommodate additional playback devices, etc. In some embodiments,any number of additional upstream audio processing components 304 can beincluded between the input 302 and the gain stage 306 without materiallyaffecting operation of the downstream components.

The gain stage 306 modulates the gain of the audio signal received fromthe upstream audio processing components 304 and passes thegain-modulated signal to the dynamic bass control 308. The gain stage306 can be positioned at any point upstream of the dynamic bass control308 and the limiter 310. The gain stage 306 can be any portion of theaudio processing chain within the playback device 110 (FIG. 1) at whichthe level of the audio signal is amplified or attenuated before reachingthe dynamic bass control 308 and the limiter 310.

The dynamic bass control 308 can reduce the amount of bass in the signalreceived from the gain stage 306 to avoid operational limits of theplayback device 110. For example, in some embodiments, the dynamic basscontrol 308 can include a dynamic high-pass filter that eliminates orattenuates certain low-frequency signals to maintain the playback device110 within its operational limits. As noted previously, in operationthis attenuation of low-frequency signals can reduce the need for thelimiter 310 to reduce the gain of the audio signal. In some embodiments,additional processing components can be included between the gain stage306 and the dynamic bass control 308, so long as the gain stage 306 isupstream of the dynamic bass control 308.

The limiter 310 can include various analog electrical components (e.g.,capacitors, resistors, inductors) or digital filters that prevent theaudio signal from exceeding a defined threshold. The limiter 310attenuates an amplitude of the audio signal at one or more frequenciesso that the audio playback device continues to operate within itsoperational limit. The amount that the audio signal is reduced by thelimiter at any given moment is referred to herein as the “gainreduction” applied by the limiter. For example, if the limiter 310received an audio signal at 3 dB and output an audio signal to thetransducer 312 at 2 dB, then the gain reduction of the limiter 310 atthat moment is 1 dB. As audio signals are typically dynamic, the amountof gain reduction applied by the limiter 310 will generally vary overtime. The gain reduction value applied by the limiter 310 can bedetected and provided to the feedback controller 314 as reflected in thedashed line of FIG. 3A.

Between the limiter 310 and the transducer 312, additional audioprocessing components can be included. For example, the audio processingcomponents may include crossover circuits and electronic filtercircuitry. The cross-over circuitry may be electronic filter circuitryused in a range of audio applications to split up an audio signal intotwo or more frequency ranges, so that the signals can be sent to driversor tweeters that are designed for different frequency ranges. In someembodiments, the additional components can include an audio amplifier toperform equalization, a digital-to-analog convert (DAC), or othersuitable components. In this regard, the operational limit of theplayback device may include electrical limits, mechanical limits,thermal limits, and/or other physical limits associated withfunctionality of the processing components between the limiter 310 andthe transducer 312. For example, there may be voltage and/or currentlimits associated with the circuitry in the audio playback pipeline suchas analog or digital filters. There may also be temperature limitsassociated with the circuitry. Accordingly, the limiter 310 may reducethe gain of the audio signal by a sufficient amount to protect thesedownstream components from damage caused by exceeding operationallimits.

The feedback controller 314 receives a gain reduction value from thelimiter 310 and provides a feedback control signal to the gain stage306. In some embodiments, if the limiter 310 is delivering high levelsof gain reduction (indicating that the signal would otherwise cause theplayback device 110 to exceed its operational limits), the feedbackcontroller 314 provides a feedback control signal to the gain stage 306that causes the gain stage 306 to reduce the gain of the incoming audiosignal. This reduction in gain will in turn reduce the amount ofgain-reduction necessary at the limiter 310 to maintain the playbackdevice 110 within its operational limits. Conversely, if the limiter 310is delivering little or no gain reduction (indicating that the signal isnot causing the playback device 110 to approach its operational limits),the feedback controller 314 can provide a feedback control signal to thegain stage 306 that causes the gain stage 306 to increase the gain ofthe incoming audio signal. This feedback loop enables dynamic modulationof the gain applied via the gain stage 306 to ensure that the limiter310 does not over-limit the signal (which could result in audibleartifacts) while also ensuring that the gain is not excessively reduced.As noted above, in systems without a feedback controller 314, thedynamic bass control 308 is applied before the limiter 310. As a result,in some cases without a feedback controller, because the limiter 310lowers the amplitude of the signal across a wide frequency bandsubsequent to operation of the dynamic bass control 308, the dynamicbass control 308 attenuates the bass components of the audio signal morethan would be necessary to prevent damage to the playback device 110. Byincorporating the feedback controller 314, the upstream gain stage 306can tune the gain of the audio signal to maintain the playback device110 within operational limits without sacrificing performance by, forexample, excessively reducing bass components of the audio signal.

In some embodiments, the feedback controller 314 can include one or morefilters configured to process the gain reduction value received from thelimiter 310 and provide a feedback signal to the gain stage 306 thatcauses the gain stage 306 to increase, decrease, or to maintain itsprevious value. The filters can include one or more time constant (TC)filters characterized by different time constants (i.e., attack andrelease times). These filters can be configured to operate separately onthe gain reduction value received from the limiter 310, and theiroutputs can be combined or merged to provide the feedback signal to thegain stage 306. In some embodiments, the number of TC filters includedin the controller 314 can be two or more, three or more, four or more,etc. In some embodiments, the feedback controller 314 applies two ormore TC filters to the gain reduction value in parallel. In at leastsome embodiments, the feedback controller 314 applies two or more TCfilters to the gain reduction parallel in series.

FIG. 3B is a functional block diagram of one example of the feedbackcontroller 314 shown in FIG. 3A. As noted above, the feedback controller314 receives a gain reduction (GR) 316 from the limiter 310. The GR 316reflects the amount that the amplitude was reduced at the limiter 310 tomaintain the playback device 110 within operational limits. This valuecan be expressed either positively or negatively (e.g., either 1 dB or−1 dB to indicate a gain reduction with a magnitude of 1 dB), withsubsequent processing operations accounting for the selectedorientation. The following examples refer to the gain reduction value inthe positive, such that a value for GR 316 of 1 dB indicates that thelimiter 310 has reduced the gain of the input signal by 1 dB.Additionally, although many of the following examples express values andoperations in terms of dB (and therefore on a logarithmic scale), thisdescription is intended to encompass equivalent operations that might becarried on a linear scale with absolute values.

The feedback controller 314 applies a bias 318 to the GR 316 to producethe biased GR 320. The bias 318 is a value by which the feedbackcontroller 314 offsets the GR 316 received from the limiter 310. Forexample, with a −1 dB bias, a GR 316 value from the limiter 310 of 1 dBwould result in a biased GR 316 of 0 dB. Similarly, with a −1 dB bias, aGR value from the limiter 310 of 2 dB would result in a biased GR of 1dB. The value of the bias 318 drives the overall behavior of thefeedback controller 314, as this determines how much gain reductionperformed by the limiter 310 is “too much” such that the feedback signalcauses the gain stage 306 to reduce the gain. The bias 318 likewisedetermines how little gain reduction performed by the limiter 310 is“too little” such that the feedback signal causes the gain stage 306 toincrease the gain. In various embodiments, the bias value can be betweenabout 0 dB and 3 dB, or between about 0.5 dB and about 2 dB, or in someembodiments about 1 dB.

The biased GR 320 proceeds to three separate processing pathways 321 a-cthat can proceed in parallel: a first pathway 321 a, a second pathway321 b, and a third pathway 321 c. As described in more detail below,each of these pathways 321 a-c can include a time constant (TC) filterthat has different time constants and is configured to respond totime-varying signals with different temporal dynamics. For example,these three pathways 321 a-c can, in some embodiments, include first,second, and third TC filters 326, 338, and 348, respectively. Thefeedback controller 314 combines the outputs of these three pathways 321a-c to produce a feedback signal that eventually reaches the gain stage306. In some embodiments, two or more of the TC filters can have thesame, similar, or overlapping time constants. Although the illustratedembodiment of FIG. 3B includes three separate processing pathways 321a-c, in some embodiments there may be a different suitable number ofpathways (e.g., two pathways, four pathways, five pathways, or more),each having at least one corresponding TC filter.

The feedback controller 314 passes the biased GR 320 to the firstprocessing pathway 321 a, which begins by applying a scaling factor 322.The scaling factor 322 reduces the biased GR 320 by a predeterminedamount. This can be, for example, a reduction on a logarithmic scale of50%, for example, reducing a biased GR 320 of 3 dB to 1.5 dB. In otherembodiments, the scalar reduction can be between about 25% and about75%, between about 40% and about 60%, and/or approximately 50%. In otherembodiments, the scaling factor 322 can be omitted altogether. Byintroducing a scaling factor 322, the relative contribution of the firstTC filter 326 can be reduced relative to the other two TC filters. Thiscan prevent the first TC filter 326 from dominating the operation of thefeedback controller 314. In some embodiments, one or more of theadditional processing pathways 321 b-c can also include a scaling factorhaving the same or different associated scaling values as that ofscaling factor 322.

The feedback controller 314 passes the scaled GR 324 to the first TCfilter 326. The first TC filter 326 can have an associated predefinedattack and release time. In some embodiments, the first TC filter 326 isa relatively fast filter, for example having relatively short attack andrelease times. The attack time of the first TC filter 326 can be betweenabout 0 ms and about 20 ms, and the release time can be between about 0ms and about 20 ms.

The feedback controller 314 provides the output 328 from the first TCfilter 326 to a range-limiter or clipper 330. At the clipper 330, if theoutput 328 is less than a predetermined threshold, the output 328 ispassed through without modification. If, however, the output 328 exceedsa predetermined threshold, then the feedback controller 314 reduces theoutput 328 to the threshold and output as maximum 334. Because theclipper 330 only “clips” the signal if it exceeds the threshold, it isalso referred to herein as a “range limiter” and its function referredto as “range-limiting.” For example, if the output 328 from the first TCfilter 326 in one block is 5 dB, and the predetermined threshold for theclipper 330 is 4 dB of gain reduction, then the clipper 330 will outputa value of 4 dB as the maximum 334. If instead the output 328 from thefirst TC filter 326 is 3 dB and again the predetermined threshold forthe clipper 330 is 4 dB, then the clipper 330 will output the 3 dB valueas the output 332. In either case, the feedback controller 314 providesthe output (either output 332 or maximum 334) to a combiner 336 wherethe output is combined with those of the other two processing pathways321 b-c discussed below. In various embodiments, the threshold of theclipper 330 can be, for example, between about 1 dB and about 10 dB, orbetween about 2 dB and about 6 dB, or about 4 dB.

The second processing pathway 321 b to which the biased GR 320 is passedbegins with a second time constant (TC) filter 338. As noted above, insome embodiments an additional scaling factor is disposed between thebiased GR 320 and the second TC filter 338. The second TC filter 338 canhave attack and release times that differ from those of the first TCfilter 326. For example, in some embodiments the second TC filter 338 isan “intermediate” TC filter as compared to the “fast” first TC filter326, meaning that the second TC filter 338 has longer attack and/orrelease times than the first TC filter 326. In some embodiments, theattack time of the second TC filter 338 is between about 20 ms and about100 ms, and the release time of the second TC filter 338 is betweenabout 100 ms and about 300 ms. The shape of the attack and/or release ofthe second TC filter 338 can be exponential (as shown on a logarithmicscale). In some embodiments, the shape of the attack and/or release ofthe second TC filter 338 can take other forms, for example linear.

The feedback controller 314 then provides the output 340 from the secondTC filter 338 to a clipper 342, which can operate similar to the clipper330 discussed above to limit the range of the output 340. At the clipper342, if the output 340 is less than a predetermined threshold, theoutput 340 passes through without modification as output 344. If,however, the output 340 exceeds a predetermined threshold, then thefeedback controller 314 reduces the output 340 to the threshold andoutput as maximum 346. In various embodiments, the threshold of theclipper 342 can be, for example, between about 1 dB and about 10 dB, orbetween about 2 dB and about 6 dB, or about 4 dB. From the clipper 342,either output 344 or maximum 346 is provided to the combiner 336 atwhich the output is combined with those of the other two processingpathways 321 a and 321 c.

The third processing pathway 321 c to which the biased GR 320 is passedbegins with a second third TC filter 338. As with the second processingpathway 321 b, although there is no intervening scaling factor shown inFIG. 3B, in some embodiments the biased GR 320 is scaled or otherwisereduced before being applied to the third TC filter 348. The third TCfilter 348 can have attack and release times that are different from thefirst TC filter 326 and the second TC filter 338. For example, in someembodiments the third TC filter 348 is a “slow” TC filter as compared tothe “fast” first TC filter 326 and the “intermediate” second TC filter338, meaning that the third TC filter 348 has attack and release timesthat are longer than the attack and release times of the first TC filter326 and the second TC filter 338. The attack time of the third TC filter348 can be between about 250 ms and about 1000 ms, and the release timecan be between about 1000 ms and about 3000 ms. In some embodiments, theshape of the attack and/or release of the third TC filter 348 is linear(as seen on logarithmic scale). In other embodiments, the shape of theattack and/or release of the third TC filter 348 can take other forms,for example, exponential.

The feedback controller 314 passes the output 350 from the third TCfilter 348 to a clipper 352, which can operate similar to the clippers330 and 342 discussed above, to limit the range of the output 350. Atthe clipper 352, if the output 350 is less than a predeterminedthreshold, the output 350 passes through without modification as output354. If, however, the output 350 exceeds the predetermined threshold,then the output 350 is reduced to the threshold and output as a maximum356. In various embodiments, the threshold of the clipper 352 can be,for example, between about 1 dB and about 10 dB, or between about 2 dBand about 6 dB, or about 4 dB. In some embodiments, one or more of theclippers 330, 342, and 352 can have the same or similar thresholdvalues, while in other embodiments one or more of the respectivethreshold values can vary. From the clipper 352, either the output 354or the maximum 356 is provided to the combiner 336 at which the outputis combined with those of the other two processing pathways 321 a-b.

The combiner 336 receives outputs from each of the three processingpathways 321 a-c as described above. These outputs can be suitablycombined in any number of ways. For example, they can be simply addedtogether (in logarithmic scale, equivalent to multiplying together inlinear scale) to produce a feedback signal 358. For example, if output332 is 3 dB, output 344 is 2 dB, and output 354 is 1 dB, then thecombiner 336 can add these values together and provide a feedback signalof 6 dB (3+2+1). In other embodiments, one or more weighting factors canbe applied to the different outputs such that they are not all givenequal predominance in producing the feedback signal 358.

The feedback controller 314 then delivers the feedback signal 358 to thegain stage 306. In some embodiments, an additional TC filter can beprovided between the combiner 336 and the gain stage 306 such that thefeedback signal 358 is subjected to an additional smoothing operationbefore reaching the gain stage 306. Based at least in part on thefeedback signal 358, the gain stage 306 either increase, decreases, ormaintains the amount of gain applied to the incoming audio signal. Forexample (setting aside the effect of an intervening TC filter betweenthe combiner 336 and the gain stage 306), if the combiner 336 outputs afeedback signal 358 of 6 dB, the gain stage 306 can reduce the amount ofgain applied to the incoming audio signal by 6 dB from the previous gainbeing applied. This will tend to lower the amount of gain reduction thatneeds to be applied at the limiter 310. Once the amount of gainreduction at the limiter falls (for example below the amount of the bias318), the feedback signal 358 will tend to fall and even reverse,thereby causing the gain stage 306 to reduce the amount of gain by less,or even increase the amount of gain applied to the incoming audiosignal. As a result of this feedback loop, the amount of gain appliedvia the gain stage 306 is continuously and dynamically modulated toprevent the limiter 310 from applying excess gain reduction while alsoavoiding reducing the gain more than necessary for suitable operation ofthe playback device 110.

While embodiments of the feedback controller 314 that employ only asingle TC filter can provide certain benefits over conventional limitingtechniques, there are particular advantages to using a plurality of TCfilters having different time constants. As noted above, in someembodiments there can be three TC filters: a “fast” TC filer havingrelatively short attack and release times, an “intermediate” TC filterhaving intermediate attack and release times, and a “slow” TC filterhaving relatively slow attack and release times. Each of these TCfilters is configured to respond differently to an incoming GR valuedetected from a limiter. For example, consider audio accompanying amovie in which a relatively quiet dialogue scene abruptly transitions toa series of loud explosions. The dramatic increase in volume mightresult in the limiter applying relatively high levels of gain reduction.When this high GR value is detected at the feedback controller, the fastTC filter, having relatively short attack and release times, willrapidly begin to decrease this GR value back to a sub-threshold level.Meanwhile, the intermediate TC filter, having longer attack and releasetimes, will take longer to begin to attenuate the GR value, and willalso take longer to return the GR value to a sub-threshold level. And atthe same time, the slow TC filter, having even longer attack and releasetimes, will take longer still to begin to attenuate the GR value, andwill also take even longer to return the GR value to a sub-thresholdlevel. The combination of these three TC filters provides an output inthe form of a feedback signal that reflects a GR value that has beenevaluated at multiple time scales. This produces a more balancedfeedback signal that can respond quickly to high GR values from thelimiter (by virtue of the fast TC filter) without causing an oscillatingfeedback signal (by virtue of the intermediate and slow TC filters).Oscillation can be caused by, for example, a feedback signal that is toodirectly responsive to the detected GR from the limiter. For example,without the intermediate and slow TC filters, the fast TC filter couldresult in oscillation of the feedback signal in which the gain stage 306rapidly cycles between increase and decreasing the gain. This rapidcycling can cause an undesired audible effect known as “pumping andbreathing.” By combining the fast TC filter with the intermediate andslow TC filters, the feedback signal can provide responsiveness withoutoscillation.

In one embodiment, functions associated with the feedback controller 314may be implemented on the playback device. For example, the processor112 a of the playback device may perform functions associated with thedescribed feedback controller 314. In another embodiment, functionsassociated with the feedback controller 314 may be implemented on acontrol device used to operate the playback device, such as asmartphone, tablet, desktop computer, laptop computer, etc. In yetanother embodiment, functions associated with the feedback controller314 may be implemented on a computing device in a cloud network. Forexample, the audio playback device may send an audio signal to be playedback to the computing device. Based on the audio signal and knowledge ofan arrangement of the playback device, e.g., type of playback device,arrangement of transducers in the playback device, capabilities of theplayback device, etc., the computing device may limit the audio signaland provide this signal back to the audio playback device for playback.In another embodiment, functions associated with the feedback controller314 may be implemented partially on one or more of the computing device,the audio playback device, and the controller in one or morecombinations. Other suitable variations are also possible.

In some embodiments, the functions associated with the feedbackcontroller 314 may be implemented on a first playback device configuredto transmit audio data to a second playback device. The output of thefeedback controller 314 can be applied to the audio data output by thesecond playback device. For instance, as described above with respect toFIG. 1, the first and second playback devices may be configured tooperate as a “bonded zone” or a “stereo pair” in which the first andsecond playback devices output left and right channels, respectively, ofa multi-channel audio signal. The feedback controller 314 on the firstplayback device, for example, can perform one or more functionsdescribed above on the multi-channel audio signal prior to transmittingall or a portion of the multi-channel audio signal to the secondplayback device. In certain embodiments, the functions associated withthe feedback controller 314 are distributed among the first and secondplayback devices. Additional details regarding audio playbacksynchronization among playback devices can be found, for example, inU.S. Pat. No. 8,234,395, which was incorporated by reference above.

FIG. 4 is a flow diagram of a process configured to limit volume inaccordance with aspects of the present technology. In some embodiments,the process 400 comprises one or more instructions stored in memory(e.g., the memory 112 b of FIG. 1) and executed by one or moreprocessors (e.g., the processor 112 a of FIG. 1) of a playback device(e.g., the playback device 110 of FIG. 1).

At block 402, the process 400 receives a first audio signal at a gainstage. In some examples, the audio signal may be a digital audio signalsuch as a packetized or non-packetized stream of audio, e.g., 128 bitsof audio data. In another example, the audio signal may be an analogsignal input from an auxiliary connection. The audio signal may comprisefrequency content that ranges from 0 Hz to 22,050 Hz or some subset ofthis frequency range. The gain stage can be any portion of the audioprocessing chain within a playback device at which the level of theaudio signal is amplified or attenuated.

At block 404, the process 400 receives, at the gain stage, a feedbacksignal from a feedback controller. And at block 406, the gain stagemodulates gain of the first audio signal based at least in part on thefeedback signal received from the feedback controller and outputs asecond audio signal. As described below, the feedback controllerdetermines the feedback signal based on a gain reduction value receivedfrom the limiter. As the limiter applies more gain reduction to theaudio signal, the feedback controller can provide a feedback signal tocause the gain stage to decrease the amount of gain applied to theincoming signal. This in turn can lead to reducing the amount of gainreduction applied at the limiter, thereby improving audio quality.Additionally, as the limiter applies less and even no gain reduction tothe audio signal, the feedback controller can provide a feedback signalto cause the gain stage to increase the amount of gain applied to theincoming signal, thereby avoiding unnecessarily reducing the gain viathe gain stage and improving performance of the playback device.

At block 408, the process 400 delivers the second audio signal from thegain stage to a limiter and at block 410, the limiter limits the secondaudio signal to produce an output signal. As described above, thelimiter can reduce (e.g., clip) portions of the audio signal that exceedpredetermined thresholds to protect a transducer or other components ofthe playback device from exceeding their operational limits. The limitercan be digital (e.g., software running on a processor) or analog (e.g.,circuit elements such as capacitors, resistors, inductors, etc.configured to limit the signal). In some embodiments, there may beintervening components between the gain stage and limiter, for example adynamic bass control or other audio processing component.

At block 412, a gain reduction value from the limiter is provided to thefeedback controller. The gain reduction value can be a time-varyingfunction as the limiter can apply different levels of gain reduction tothe audio signal over time. The gain reduction is delivered to thecontroller and, at block 414, the feedback controller determines thefeedback signal that is applied to the gain stage in block 404. As notedabove, this feedback signal can cause the gain stage to increase theamount of gain applied if the gain reduction value from the limiter ishigh, or the feedback signal can instruct the gain stage to decrease theamount of gain applied if the gain reduction value from the limiter islow or even zero. In some cases, the feedback signal may cause the gainstage to make no change to the amount of gain applied to the incomingsignal.

To improve performance of the feedback signal, the feedback controllercan perform a number of operations on the gain reduction value receivedfrom the limiter to determine the feedback signal. For example, similarto the examples described above with respect to FIG. 3B, the feedbackcontroller can apply a plurality of time constant (TC) filters to thegain reduction value from the limiter, with one or more of the TCfilters having different time constants (e.g., attack and/or releasetimes). By providing TC filters having different time constants (e.g.,fast, intermediate, and slow TC filters), overall performance of thefeedback controller can be improved. For example, the feedbackcontroller can determine a feedback signal that both responds quickly toabrupt changes in gain reduction from the limiter, while also smoothingthe feedback signal provided to the gain stage to avoid oscillation orunduly abrupt changes in gain that would produce audible artifacts.

At block 416, audio is played back based on the output signal from thelimiter. For example, the audio signal can be output from the limiter toone or more transducers (e.g., transducers 214 a-f of FIG. 2B) that canplay back the audio signal. In various embodiments, there may be anumber of intervening audio processing components between the limiterand the transducers, for example cross-over circuitry, digital-to-analogconverters, etc.

While the methods and systems have been described herein with respect tomedia content (e.g., music content, video content), the methods andsystems described herein may be applied to a variety of content whichmay have associated audio that can be played by a media playback system.For example, pre-recorded sounds which might not be part of a musiccatalog may be played using the playback device. Other examples arepossible including podcasts, news clips, notification sounds, alarms,etc.

VII. Conclusion

The description above discloses, among other things, various examplesystems, methods, apparatus, and articles of manufacture including,among other components, firmware and/or software executed on hardware.It is understood that such examples are merely illustrative and shouldnot be considered as limiting. For example, it is contemplated that anyor all of the firmware, hardware, and/or software aspects or componentscan be embodied exclusively in hardware, exclusively in software,exclusively in firmware, or in any combination of hardware, software,and/or firmware. Accordingly, the examples provided are not the onlyway(s) to implement such systems, methods, apparatus, and/or articles ofmanufacture.

The specification is presented largely in terms of illustrativeenvironments, systems, procedures, steps, logic blocks, processing, andother symbolic representations that directly or indirectly resemble theoperations of data processing devices coupled to networks. These processdescriptions and representations are typically used by those skilled inthe art to most effectively convey the substance of their work to othersskilled in the art. Numerous specific details are set forth to provide athorough understanding of the present disclosure. However, it isunderstood to those skilled in the art that certain embodiments of thepresent disclosure can be practiced without certain, specific details.In other instances, well known methods, procedures, components, andcircuitry have not been described in detail to avoid unnecessarilyobscuring aspects of the embodiments. Accordingly, the scope of thepresent disclosure is defined by the appended claims rather than theforgoing description of embodiments.

When any of the appended claims are read to cover a purely softwareand/or firmware implementation, at least one of the elements in at leastone example is hereby expressly defined to include a tangible,non-transitory medium such as a memory, DVD, CD, Blu-ray, and so on,storing the software and/or firmware.

1. (canceled)
 2. An audio signal processing system for a playbackdevice, the system comprising: a first component configured to receivean incoming audio signal and adjust gain based at least in part on acontrol signal; a second component downstream of the first component andconfigured to reduce gain for signals above a threshold; a thirdcomponent configured to receive a gain reduction value from the secondcomponent and, based at least in part on the gain reduction value,provide the control signal to the first component to adjust the gain ofincoming audio signals via the first component; and a fourth componentconfigured to receive an output from the second component and causeaudio to be played back based on the output.
 3. The system of claim 2,wherein the first component comprises a gain stage, the second componentcomprises a limiter, the third component comprises a feedbackcontroller, and the fourth component comprises an audio amplifier oraudio transducer.
 4. The system of claim 2, further comprising a fifthcomponent disposed between the first component and the second component,the fifth component configured to attenuate a portion of thegain-adjusted signal output by the first component.
 5. The system ofclaim 4, wherein the fifth component comprises a dynamic bass filter. 6.The system of claim 2, wherein the third component is configured toapply an algorithm to the gain reduction value and output the controlsignal to the first component.
 7. The system of claim 6, whereinapplying the algorithm comprises applying a plurality of time constant(TC) filters to the gain reduction value and combining TC filter outputsignals.
 8. The system of claim 7, wherein each of the TC filterscomprises different time constants and wherein applying the plurality ofTC filters comprises applying the plurality of TC filters in paralleland combining respective TC filter output signals.
 9. A method,comprising: receiving a first audio signal at a first component upstreamfrom a second component; adjusting a gain of the first audio signal viathe first component to provide a second audio signal; receiving thesecond audio signal at the second component; reducing a gain of thesecond audio signal via the second component to produce a first outputsignal; providing a gain reduction value from the second component to athird component; determining, via the third component, a control signalbased at least in part on the gain reduction value from the secondcomponent; playing back audio based on the first output signal;receiving a third audio signal at the first component; receiving thecontrol signal, from the third component, at the first component; basedat least in part on the control signal from the third component,adjusting a gain of the third audio signal via the first component toprovide a fourth audio signal; receiving the fourth audio signal at thesecond component; reducing a gain of the fourth audio signal via thesecond component to produce a second output signal; and playing backaudio based on the second output signal.
 10. The method of claim 9,wherein the first component comprises a gain stage, the second componentcomprises a limiter, and the third component comprises a feedbackcontroller.
 11. The method of claim 9, wherein a fourth component isdisposed between the first component and the second component, themethod further comprising: receiving the second audio signal from thefirst component at the third component; dynamically filtering the secondaudio signal via the third component; and outputting the filtered secondaudio signal to the second component.
 12. The method of claim 11,wherein the fourth component comprises a dynamic bass filter.
 13. Themethod of claim 9, wherein determining the control signal comprisesapplying an algorithm to the gain reduction value and outputting thecontrol signal to the first component.
 14. The method of claim 13,wherein applying the algorithm comprises applying a plurality of timeconstant (TC) filters to the gain reduction value and combining TCfilter output signals.
 15. The method of claim 14, wherein each of theTC filters comprises different time constants and wherein applying theplurality of TC filters comprises applying the plurality of TC filtersin parallel and combining respective TC filter output signals.
 16. Themethod of claim 9, wherein the first audio signal comprises a firstportion of media content received at the first component at a firsttime, and wherein the third audio signal comprises a second portion ofthe media content received at the first component at a second timesubsequent to the first time.
 17. A non-transitory computer-readablemedium comprising instructions for limiting volume in audio playback,the instructions, when executed by a processor of a playback device,causing the playback device to perform operations comprising: receivinga first audio signal at a first component upstream from a secondcomponent; adjusting a gain of the first audio signal via the firstcomponent to provide a second audio signal; receiving the second audiosignal at the second component; reducing a gain of the second audiosignal via the second component to produce a first output signal;providing a gain reduction value from the second component to a thirdcomponent; determining, via the third component, a control signal basedat least in part on the gain reduction value from the second component;playing back audio based on the first output signal; receiving a thirdaudio signal at the first component; receiving the control signal, fromthe third component, at the first component; based at least in part onthe control signal from the third component, adjusting a gain of thethird audio signal via the first component to provide a fourth audiosignal; receiving the fourth audio signal at the second component;reducing a gain of the fourth audio signal via the second component toproduce a second output signal; and playing back audio based on thesecond output signal.
 18. The computer-readable medium of claim 17,wherein a fourth component is disposed between the first component andthe second component, the operations further comprising: receiving thesecond audio signal from the first component at the third component;dynamically filtering the second audio signal via the third component;and outputting the filtered second audio signal to the second component.19. The computer-readable medium of claim 17, wherein determining thecontrol signal comprises applying an algorithm to the gain reductionvalue and outputting the control signal to the first component.
 20. Thecomputer-readable medium of claim 19, wherein applying the algorithmcomprises applying a plurality of time constant (TC) filters to the gainreduction value and combining TC filter output signals.
 21. Thecomputer-readable medium of claim 20, wherein each of the TC filterscomprises different time constants and wherein applying the plurality ofTC filters comprises applying the plurality of TC filters in paralleland combining respective TC filter output signals.